package com.marry.daodao.authserver.ui.security;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author mal
 * @date 2022-11-14 20:03
 */

@Getter
@Setter
@ConfigurationProperties(prefix = "daodao.oauth2")
@RefreshScope
public class OAuth2Properties {

    private JwtProperties jwt = new JwtProperties();


    @Getter
    @Setter
    public static class JwtProperties{

        private String keyStorePass = "";
        private String keyPass = "";
        private String keyLocation = "";

    }

}
